<template>
  <div>
    <h1>five</h1>
    <h2>four组件中的msg:{{info}}</h2>
  </div>
</template>

<script>
import eventBus from "../utils/eventBus";
export default {
  name: "Five",
  props: [""],
  data() {
    return {
      info: ""
    };
  },

  components: {},

  computed: {},

  beforeMount() {},

  mounted() {
    eventBus.$on("getInfo", val => {
      this.info = val;
    });
  },

  methods: {},

  watch: {}
};
</script>
<style lang='' scoped>
</style>